<?php

namespace AdminPanel\LessonBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;


class LessonStatusController extends Controller
{
    public function listForChoiceAction($selected = null)
    { 
     $listForChoiceList = $this->getDoctrine()->getManager()->getRepository('AdminPanelDashboardBundle:LessonStatus')->findLessonStatus();     
     return $this->render('AdminPanelLessonBundle:LessonStatus:listForChoiceList.html.twig', array(
                'listForChoiceList' => $listForChoiceList,
                'selected' => $selected
            ));
    
    }
}
